<meta charset="UTF-8">
<div id="sqlList" class="unswift-module-page">
	<form id="sqlListSearchForm" lay-filter="sqlListSearchForm" class="layui-form layui-row layui-col-space16" style="width:100%;">
		<div class="layui-col-md3">
			<div class="layui-input-wrap">
				<input type="text" name="version" placeholder="上传版本" class="layui-input">
			</div>
		</div>
		<div class="layui-col-md3">
			<div class="layui-input-wrap">
				<input type="text" name="uploadUser" placeholder="上传用户" class="layui-input">
			</div>
		</div>
		<div class="layui-col-md6">
			<div class="layui-input-wrap" id="sqlOnlineTime">
				<div class="layui-col-md5">
					<input type="text" id="sqlOnlineStartTime" name="onlineStartTime" class="layui-input" placeholder="开始日期">
				</div>
				<div class="layui-form-mid" style="margin:0px 5px;">-</div>
				<div class="layui-col-md5">
					<input type="text" id="sqlOnlineEndTime" name="onlineEndTime" class="layui-input" placeholder="结束日期">
				</div>
			</div>
		</div>
		<div class="layui-col-md3">
			<span class="layui-btn" onclick="$.module.currModule.search();">查询</span>
			<span class="layui-btn layui-btn-primary" onclick="$.module.currModule.clear();">重置</span>
		</div>
	</form>
	<table class="layui-hide" id="sqlListTable" lay-filter="sqlListTable"></table>
</div>
<script type="text/html" id="sqlListToolbar">
	<div class="layui-btn-container">
    	
	</div>
</script>
<script type="text/html" id="sqlListRowToolbar">
	<div class="layui-clear-space">
		<a class="layui-btn layui-btn-xs layui-bg-blue" auth="system.sql.update" lay-event="edit" style="display:{{= d.isAdmin == 1 ? "none" : "" }};"><i class="layui-icon layui-icon-edit"></i>编辑</a>
		<a class="layui-btn layui-btn-xs layui-bg-orange" auth="system.sql.updateAuthorize" lay-event="authorize" style="display:{{= d.isAdmin == 1 ? "none" : "" }};"><i class="layui-icon layui-icon-auz"></i>授权</a>
		<a class="layui-btn layui-btn-xs layui-bg-red" auth="system.sql.delete" lay-event="delete" style="display:{{= d.isAdmin == 1 ? "none" : "" }};"><i class="layui-icon layui-icon-delete"></i>删除</a>
	</div>
</script>
<script type="text/javascript" src="/js/admin/system/sql.js"></script>